package com.haiya.decorator.morrigan;

/**
 * 这里只是模拟
 */
public class Client {
    public static void main(String[] args) {
        /**
         * 1. 显示原身
         */
        Morrigan morrigan = new Original();
        morrigan.display();

        /**
         * 2. 变身妖女
         */
        morrigan = new Succubus(new Original());
        morrigan.display();

        /**
         * 3. 变身少女
         */
        morrigan = new Girl(new Original());
        morrigan.display();
    }
}
